/**
 * This file is part of 1genia trampoline
 * Copyright (C) 2007 1genia (contact@1genia.com)
 *
 * This library is free software; you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; version 3 of the License. 
 *
 * This library is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details. 
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; see the file COPYING.TXT.  If not,
 * write to the Free Software Foundation, Inc., 51 Franklin Street,
 * Fifth Floor, Boston, MA 02110-1301, USA. 
 **/
package com.genia.toolbox.model.exemple.impl;

/**
 * <p>
 * This class is the delegate class associated to
 * com.genia.toolbox.model.exemple.B
 * </p>.
 */
class BDelegate
    extends com.genia.toolbox.model.exemple.impl.EDelegate
    implements com.genia.toolbox.model.exemple.D
{
  /**
   * the simulated {@link com.genia.toolbox.model.exemple.B}.
   */
  private com.genia.toolbox.model.exemple.B b;



  /**
   * constructor.
   * 
   * @param b
   *          the simulated {@link com.genia.toolbox.model.exemple.B}
   */
  BDelegate(final com.genia.toolbox.model.exemple.B b)
  {
    super(b);
    this.b = b;
  }



  /**
   * this mthod test list return type.
   * 
   * @param argument
   *          test argument of type List.
   * @return this mthod test list return type.
   */
  public java.util.List<java.lang.String> getAnyList(final java.util.List<java.lang.String> argument)
  {
    return argument;
  }



  /**
   * test operation.
   * 
   * @param bar2
   *          bar2 comment.
   * @param bar3
   *          bar3 comment.
   * @return test operation.
   */
  public String getBar(final String bar2, final Long bar3)
  {
    return bar2;
  }



  /**
   * method for test type text.
   * 
   * @param valt1
   *          value of type text.
   * @return method for test type text.
   */
  public String getSomeText(final String valt1)
  {
    return valt1;
  }



  /**
   * test doFoo.
   */
  public void doFoo5()
  {
    b.setBar("doFoo5 from BDelegate");
  }



  /**
   * a method foo.
   * 
   * @param foob2
   *          test comment arg2.
   * @param foo2
   *          test arg 3.
   */
  public void getFoo2(final String foob2, final String foo2)
  {
    b.setBar(foob2 + foo2);
  }
}
